﻿
@{
    ViewBag.Title = "购物车";
    Layout = "~/Views/Shared/_Layout.cshtml";
    var shopName = UserContext.User.ShopName;
    var spid = Request["spid"];
    var said = Request["said"];
    //var cartCount = ViewHelper.CartCount();
   
}
<style>


    .font_28r {
        display: inline-block;
        width: 240rpx;
        height: 80rpx;
        color: #188dee;
        border-radius: 4px;
        line-height: 80rpx;
    
    }
</style>
<!--主体-->
<div id="div_cartNull" style="margin-top: 49px;text-align:center">
    <div>
        <img src="~/Content/images/cart.png" />
    </div>
 
    <div class="font_28r">
        购物车空空如也
    </div>
    <div>
        <a href="/Home/Index?spid=@spid&said=@said">
            <span class="font_28r">
                去逛逛
            </span>
        </a>
    </div>
</div>

<div class="weui-content" ShopName="@shopName" style="padding-top:0px;">
    
</div>
<!--底部导航-->
<div class="foot-black"></div>
<div class="weui-tabbar wy-foot-menu" style="bottom:58px;height:35px;">
    <div style="line-height:20px;background:#f7f7fa" class="npd cart-foot-check-item weui-cells_checkbox allselect">
        <label class="weui-cell allsec-well weui-check__label" for="all">
            <div class="weui-cell__hd">
                <input type="checkbox" class="weui-check" name="all-sec" id="all">
                <i class="weui-icon-checked"></i>
            </div>
            <div class="weui-cell__bd">
                <p class="font-14">全选</p>
            </div>
        </label>
    </div>
    <div class="weui-tabbar__item  npd">
        <p class="cart-total-txt meui-padding-top1">合计：<i>￥</i><em class="num font-16" id="totalAmount">0</em></p>
        
    </div>
    <a href="javascript:void(0);" id="GoOrder" class="red-color npd w-90 t-c">
        <p style="line-height:30px;" class="promotion-foot-menu-label">去结算</p>
    </a>
</div>
<!--底部导航-->
<div class="foot-black"></div>
<div class="weui-tabbar wy-foot-menu">
    <a href="/Home/Index?spid=@spid&said=@said" class="weui-tabbar__item ">
        <div class="weui-tabbar__icon foot-menu-home"></div>
        <p class="weui-tabbar__label">首页</p>
    </a>

    <a href="/Product/MenuList?spid=@spid&said=@said" class="weui-tabbar__item">
        <div class="weui-tabbar__icon foot-menu-list"></div>
        <p class="weui-tabbar__label">分类</p>
    </a>
    <a href="/Cart/Index?spid=@spid&said=@said" class="weui-tabbar__item weui-bar__item--on">
        
        <div class="weui-tabbar__icon foot-menu-cart"></div>
        <p class="weui-tabbar__label">购物车</p>
    </a>
    <a href="/User/Index?spid=@spid&said=@said" class="weui-tabbar__item">
        <div class="weui-tabbar__icon foot-menu-member"></div>
        <p class="weui-tabbar__label">我的</p>
    </a>
</div>
<script src="~/scripts/js/jquery.Spinner.js?v=11"></script>
<script src="~/scripts/ShopCart/ShopCart.js?v=11"></script>
<script src="~/scripts/Common/ShopCartManager.js?v=22"></script>
<script>
    ShopCartClass.Instance.Init();
</script>